Page({
  data: {
    colorArr: [
      '#FBBC05',
      '#34A853',
      '#EA4335',
      '#F65314',
      '#7CBB00',
      '#00A1F1',
      '#FFBB00',
      '#7B0099',
      '#FF9900',
      '#4285F4',
      '#00FF7F',
      '#FFE0BD',
      '#004327',
      '#908885',
      '#CEA4BC',
      '#C15629',
      '#512DA8',
    ]
  },
  onLoad() {
    
  },
  onLongpress: function(e) {
    const value = e.currentTarget.dataset.value;
    // console.log("value", value);
    wx.setClipboardData({
      data: value,
      success: function() {
        wx.showToast({
          title: '已复制',
        });
      }
    })
  },
})